Inscription: Derive row alignment from xalign
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 12 Jun 2022 17:27:33 +0000 (14:27 -0300)
committerBenjamin Otte <otte@redhat.com>
Mon, 13 Jun 2022 03:35:47 +0000 (05:35 +0200)
commitc93a01d6273c757ad62dd4874907d567de62a307
treee19ef18e477d8d74f999903ba5021be0535d3d4e
parent221a18704be622856d0017d72b06b0af44251951
Inscription: Derive row alignment from xalign

Texts usually want the alignment of each row to match the xalign of
the text itself.

Derive the alignment of the PangoLayout from the xalign property of
the inscription. Because Pango doesn't provide float row alignment,
map left, center and right from the xalign in 1 / 3 steps.
gtk/gtkinscription.c